package com.css.fxfzfxqh.modules.synthesis.repository;

import com.css.fxfzfxqh.modules.comprehensiveRiskZoneSet.model.entity.FxqhComprehensiveRiskZoneSetSet;
import com.css.fxfzfxqh.modules.synthesis.entity.PopulationAndLoss;
import com.css.fxfzfxqh.modules.synthesis.param.CheckParam;
import com.css.fxfzfxqh.modules.synthesis.param.QhSynthesisExportParam;
import com.css.fxfzfxqh.modules.synthesis.param.QueryParam;
import com.css.fxfzfxqh.modules.synthesis.param.StatisticsParam;
import com.css.fxfzfxqh.modules.synthesis.vo.QhSynthesisExportVO;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface AssessRepository {
    Boolean checkData1(CheckParam param);

    Boolean checkData2(CheckParam param);

    Boolean checkData3(CheckParam param);

    Boolean checkData4(CheckParam param);

    List<PopulationAndLoss> getData1(CheckParam param);

    List<FxqhComprehensiveRiskZoneSetSet> getSetUp();

    void saveResult(List<PopulationAndLoss> list);

    List<PopulationAndLoss> getData2(CheckParam param);

    List<PopulationAndLoss> getData3(CheckParam param);

    List<PopulationAndLoss> getData4(CheckParam param);

    Map<String, Object> getResults(QueryParam param, int page, int size);

    void delete(CheckParam param);
    void deleteByTaskId(String taskId,String inputMode);

    List<StatisticsParam> statistics(QueryParam param);

    List<QhSynthesisExportVO> getByParam(QhSynthesisExportParam param);
}
